<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta name="Generator" content="68ECSHOP v4_2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="Keywords" content=""/>
    <meta name="Description" content=""/>
    <title>用户中心_淘嘟嘟</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/user.css"/>
    <script src="__JS__/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__JS__/home/common.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<!--头部导航-->
<include file="Public/head_a"/>
<include file="Public/head_b"/>

<div class="margin-w1210 clearfix">
    <!--S用户中心公共左边-->
    <include file="Public/user_left"/>
    <!--E用户中心公共左边-->
    <div class="user-right">

        <div class="box" style="margin-left: 10px; width: 989px;">
            <input type="hidden" id="chat_order_id" name="chat_order_id" value="2968 ">
            <div class="tabmenu">
                <ul class="tab pngFix">
                    <li class="first active">订单状态</li>
                </ul>
            </div>
            <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#eeeeee" class="order_detail">
                <tbody>
                <tr>
                    <td width="15%" align="right" bgcolor="#ffffff">支付号：</td>
                    <td align="left" bgcolor="#ffffff">{$detOrder[0]['pay_sn']}</td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff">订单状态：</td>
                    <switch name="detOrder[0].order_state">
                        <case value="10">
                            <td align="left" bgcolor="#ffffff">未完成</td>
                        </case>
                        <case value="20">
                            <td align="left" bgcolor="#ffffff">未完成</td>
                        </case>
                        <case value="30">
                            <td align="left" bgcolor="#ffffff">未完成</td>
                        </case>
                        <case value="40">
                            <td align="left" bgcolor="#ffffff">已完成</td>
                        </case>
                        <case value="0">
                            <td align="left" bgcolor="#ffffff">已取消</td>
                        </case>
                    </switch>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff">付款状态：</td>

                    <switch name="detOrder[0].order_state">
                        <case value="10">
                            <td align="left" bgcolor="#ffffff">
                                <div style="text-align:center"><span style="float:left;">未付款</span><a class="main-btn main-btn-large">去支付</a></div>
                            </td>
                        </case>
                        <case value="20">
                            <td align="left" bgcolor="#ffffff">已付款</td>
                        </case>
                        <case value="30">
                            <td align="left" bgcolor="#ffffff">已付款</td>
                        </case>
                        <case value="40">
                            <td align="left" bgcolor="#ffffff">已付款</td>
                        </case>
                    </switch>

                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff">配送状态：</td>
                    <switch name="detOrder[0].order_state">
                        <case value="0">
                            <td align="left" bgcolor="#ffffff">未发货</td>
                        </case>
                        <case value="10">
                            <td align="left" bgcolor="#ffffff">未发货</td>
                        </case>
                        <case value="20">
                            <td align="left" bgcolor="#ffffff">
                                <div style="text-align:center"><span style="float:left;">未发货</span><a class="main-btn main-btn-large">提醒商家发货</a></div>
                            </td>
                        </case>
                        <case value="30">
                            <td align="left" bgcolor="#ffffff">已发货</td>
                        </case>
                        <case value="40">
                            <td align="left" bgcolor="#ffffff">已收货</td>
                        </case>
                    </switch>
                </tr>
                </tbody>
            </table>
            <br>
            <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#eeeeee">
            </table>
            <div class="blank"></div>
            <if condition="($detOrder.order_state eq 30) OR ($detOrder.order_state eq 40) ">
                <div class="tabmenu">
                    <ul class="tab pngFix">
                        <li class="first active">物流信息</li>
                    </ul>
                </div>
                <div style="border:1px solid #eeeeee;padding: 10px;">
                    <!--      物流信息放此处          -->
                </div>
                <div class="blank"></div>
            </if>
            <div class="tabmenu">
                <ul class="tab pngFix">
                    <li class="first active">商品列表</li>
                </ul>
            </div>
            <foreach item='m' name='detOrder'>
            <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#eeeeee">
                <tbody>
                <tr>
                    <th width="32%" align="left" bgcolor="#ffffff"><b>订单号：{$m['order_sn']}</b></th>
                    <th width="13%" align="center" bgcolor="#ffffff">属性</th>
                    <th width="15%" align="center" bgcolor="#ffffff">商品价格</th>
                    <th width="9%" align="center" bgcolor="#ffffff">购买数量</th>
                    <th width="9%" align="center" bgcolor="#ffffff">运费</th>
                    <th width="17%" align="center" bgcolor="#ffffff">小计</th>

                </tr>
                <foreach name="m.OrderGoods" item="v">
                    <tr>
                        <td bgcolor="#ffffff"><a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank"><img src="{$v['goods_image']}!100x100" style="float: left;padding-right: 10px;" />{$v['goods_title']}</a></td>
                        <td align="center" bgcolor="#ffffff">规格{$v['goods_attri_info']} <br></td>
                        <td align="center" bgcolor="#ffffff">￥{$v['goods_price']}</td>
                        <td align="center" bgcolor="#ffffff">{$v['goods_num']}</td>
                        <td align="center" bgcolor="#ffffff">{$v['shipping_fee']}</td>
                        <td align="center" bgcolor="#ffffff">￥{$v['goods_price']*$v['goods_num']}</td>
                    </tr>
                </foreach>
                </tbody>
            </table>
            </foreach>
            <div class="blank"></div>
            <div class="tabmenu">
                <ul class="tab pngFix">
                    <li class="first active">费用总计</li>
                </ul>
            </div>
            <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#eeeeee">
                <tbody>
                <tr><td align="right" bgcolor="#ffffff"> 商品总价: ￥{$m['goods_amount']}</td></tr>
                <tr><td align="right" bgcolor="#ffffff">运费: ￥{$m['shipping_fee']}</td></tr>
                <tr><td align="right" bgcolor="#ffffff">应付款金额: ￥{$m['goods_amount']+$m['shipping_fee']}</td></tr>
                </tbody>
            </table>
            <div class="blank"></div>
            <div class="tabmenu">
                <ul class="tab pngFix">
                    <li class="first active">收货人信息</li>
                </ul>
            </div>
            <form action="user.php" method="post" name="formAddress" id="formAddress">
                <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#eeeeee">
                    <tbody>
                    <tr>
                        <td width="15%" align="right" bgcolor="#ffffff">收货人姓名：</td>
                        <td width="35%" align="left" bgcolor="#ffffff">{$m['address']['true_name']}</td>
                        <td width="15%" align="right" bgcolor="#ffffff">电子邮件地址：</td>
                        <td width="35%" align="left" bgcolor="#ffffff">{$m['address']['tel_email']}</td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#ffffff">详细地址：</td>
                        <td align="left" bgcolor="#ffffff">{$m['address']['address']}</td>
                        <td align="right" bgcolor="#ffffff">邮政编码：</td>
                        <td align="left" bgcolor="#ffffff">{$m['address']['zip_code']}</td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#ffffff">电话：</td>
                        <td align="left" bgcolor="#ffffff">{$m['address']['landline']}</td>
                        <td align="right" bgcolor="#ffffff">手机：</td>
                        <td align="left" bgcolor="#ffffff">{$m['address']['mob_phone']}</td>
                    </tr>
                    </tbody>
                </table>
            </form>
            <div class="blank"></div>
        </div>
    </div>
</div>
<div class="pop-mask"></div>
<!--S公共尾部-->
<div style="clear: both"></div>
<div class="site-footer">
    <div class="footer-related">
        <include file="Public/bootom_a" />
        <include file="Public/bootom_b" />
        <include file="Public/bootom_c" />
    </div>
</div>
</body>
</html>